#{extends 'main.html' /}
#{set title: '用户注册' /}
<form id="register" class="form-horizontal" action="/register" method="post">
    <fieldset class="container">
        <h1 id="login_p">SZWB用户注册</h1>
        <p>____________________________________________________________________<p>
        <div class="control-group">
            <div class="controls">
				#{if flash.error}
                <p style="color:#c00">
				${flash.error}
                </p>
				#{/if}
            </div>
        </div>
        <div class="control-group">
            <label style="color: white;" class="control-label">用户名</label>
            <div class="controls">
                <input type="text" class="input-xlarge" name="name">
                <p  style="color: white"  class="help-block">字母，数字，汉字皆可</p>
            </div>
        </div>
        <div class="control-group">
            <label  style="color: white"  class="control-label">密码</label>
            <div class="controls">
                <input type="password" class="input-xlarge" name="password">
                <p  style="color: white"  class="help-block">随便怎么输</p>
            </div>
        </div>
        <div class="control-group">
            <label  style="color: white"  class="control-label">再次输入密码</label>
            <div class="controls">
                <input type="password" class="input-xlarge" name="repassword">
                <p  style="color: white"  class="help-block">请与上面的密码一致</p>
            </div>
        </div>
        <div class="control-group">
            <div class="controls">
                <button type="submit" class="btn">注册</button>
                <button type="reset" class="btn">取消</button>
                <a href="/">已有账号</a> 
            </div>
        </div>
    </fieldset>
</form>


